﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="Edit.ascx.vb" Inherits="Control_Function_Edit" %>
<script type="text/javascript">
    function ajaxJquery() {
        $(function () {
            $(".TextBox:first").focus();

        });
    }
</script>
<asp:UpdatePanel ID="uplYtgchanthuong" runat="server">
    <ContentTemplate>
        <div class="content_porletform">
            <div class="HeadTitle">
                <h3>
                    <asp:Label ID="Label3" runat="server" Text="CHỈNH SỬA MENU" /></h3>
            </div>
            <div class="box_contentform">
                <div class="box_scroll_grid">
                    <div class="DivRequired">
                        <span class="fieldRequired">&nbsp;</span>Trường yêu cầu nhập dữ liệu
                    </div>
                    <div class="Error">
                    </div>
                    <div class="DivRow">
                        <div class="DivLabel">
                            <asp:Label ID="lblCode" CssClass="TextLabel" runat="server" Text="Tên menu(không dấu):" /><span
                                class="fieldRequired">&nbsp;</span>
                        </div>
                        <div class="DivTextBox">
                            <asp:TextBox ID="txtFunctionName" CssClass="TextBox" runat="server" DataType="required"></asp:TextBox>
                        </div>
                    </div>
                    <div class="DivRow">
                        <div class="DivLabel">
                            <asp:Label ID="Label1" CssClass="TextLabel" runat="server" Text="Tên hiển thị:" /><span
                                class="fieldRequired">&nbsp;</span>
                        </div>
                        <div class="DivTextBox">
                            <asp:TextBox ID="txtHrefName" CssClass="TextBox" runat="server" DataType="required"></asp:TextBox>
                        </div>
                    </div>
                    <div class="DivRow">
                        <div class="DivLabel">
                            <asp:Label ID="lblTitle" CssClass="TextLabel" runat="server" Text="Url:" />
                        </div>
                        <div class="DivTextBox">
                            <asp:TextBox ID="txtUrl" CssClass="TextBox" runat="server"></asp:TextBox>
                        </div>
                    </div>
                    <div class="DivRow">
                        <div class="DivLabel">
                            <asp:Label ID="Label2" CssClass="TextLabel" runat="server" Text="Thứ tự:" />
                        </div>
                        <div class="DivTextBox">
                            <asp:TextBox ID="txtSort" CssClass="TextBox" runat="server" DataType="integer"></asp:TextBox>
                        </div>
                    </div>

                    <div class="DivRow">
                        <div class="DivLabel">
                            <asp:Label ID="lblDescription" CssClass="TextLabel" runat="server" Text="Kích hoạt:" />
                        </div>
                        <div class="DivTextBox">
                            <asp:CheckBox ID="chkIsMenu" CssClass="TextBox" runat="server" />
                        </div>
                    </div>


                    <div class="DivRow">
                        <div class="DivLabel">
                            <asp:Label ID="Label5" CssClass="TextLabel" runat="server" Text="Trạng thái:" />
                        </div>
                        <div class="DivTextBox">
                            <asp:CheckBox ID="chkIsStatusId" CssClass="checkbox" runat="server" />
                        </div>
                    </div>
                    <div class="DivRow">
                        <div class="DivLabel">
                            <asp:Label ID="Label4" CssClass="TextLabel" runat="server" Text="Menu cấp cha:" />
                        </div>
                        <div class="DivTextBox">
                            <asp:DropDownList ID="ddlParentId" runat="server" CssClass='Dropdownlist TextBox'>
                            </asp:DropDownList>
                        </div>
                    </div>
                    <div class="DivRow">
                        <div class="DivLabel">
                            &nbsp;&nbsp;&nbsp;</div>
                        <div class="DivTextBox">
                            <asp:Button ID="btnSave" CausesValidation="true" CommandArgument="" OnClientClick="return validateFormInputs();"
                                runat="server" Text=" Lưu " CssClass="btn" />
                            <asp:Button ID="btnHuy" CausesValidation="false" runat="server" Text=" Hủy " CssClass="btn" />&nbsp;
                        </div>
                    </div>
                </div>
                <div style="display: none">
                    <asp:HiddenField ID="hidID" Value="0" runat="server" />
                </div>
            </div>
        </div>
    </ContentTemplate>
</asp:UpdatePanel>
